package com.laopan.elasticsearch.bean.geo;

import com.laopan.elasticsearch.bean.Field;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author laopan
 * @className Screen
 * @date 2021/4/20 11:49
 */

public class Screen {
    /**
     * 左上坐标
     */
    private Location topLeft;
    /**
     * 左下坐标
     */
    private Location bottomRight;
    /**
     * 中心点坐标
     */
    private Location center;

    private List<Field> queryFields;

    public Screen() {
    }

    public Screen(Location topLeft, Location bottomRight, Location center) {
        this.topLeft = topLeft;
        this.bottomRight = bottomRight;
        this.center = center;
    }

    public Location getTopLeft() {
        return topLeft;
    }

    public void setTopLeft(Location topLeft) {
        this.topLeft = topLeft;
    }

    public Location getBottomRight() {
        return bottomRight;
    }

    public void setBottomRight(Location bottomRight) {
        this.bottomRight = bottomRight;
    }

    public Location getCenter() {
        return center;
    }

    public void setCenter(Location center) {
        this.center = center;
    }

    public List<Field> getQueryFields() {
        return queryFields;
    }

    public void setQueryFields(List<Field> queryFields) {
        this.queryFields = queryFields;
    }
}
